package hotel.switchs.oversea.api.feign.fallback;

import hotel.base.oversea.utils.Result;
import hotel.switchs.oversea.api.VO.request.GetMasterHotelListVo;
import hotel.switchs.oversea.api.feign.SwitchMasterHotelInfoServiceApi;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 获取母酒店信息
 * @author qiuyy
 * @date 2020-05-28
 */
@Slf4j
@Component
public class SwitchMasterHotelInfoServiceApiFallbackImpl implements SwitchMasterHotelInfoServiceApi {

    @Override
    public Result<Object> info(GetMasterHotelListVo getMasterHotelListVo) {
        log.error("获取母酒店信息失败，getMasterHotelListVo >> {}", getMasterHotelListVo);
        return new Result<>(getMasterHotelListVo);
    }
}
